package com.webchat.ugc.repository.entity.mall.im;

import com.webchat.ugc.repository.entity.BaseEntity;
import jakarta.persistence.Column;
import jakarta.persistence.Entity;
import jakarta.persistence.GeneratedValue;
import jakarta.persistence.GenerationType;
import jakarta.persistence.Id;
import jakarta.persistence.Table;
import lombok.Data;

import java.math.BigDecimal;
import java.util.Date;


/**
 * 订单（商品订单、抽奖订单……）取消记录表
 */
@Data
@Entity
@Table(name = "web_chat_mall_chat_account")
public class MallChatAccountEntity extends BaseEntity {

    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    protected Long id;

    @Column(name = "account")
    private String account;

    @Column(name = "chat_account")
    private String chatAccount;

    @Column(name = "account_type")
    private Integer accountType;

    @Column(name = "chat_account_type")
    private Integer chatAccountType;

    @Column(name = "first_chat_date")
    private Date firstChatDate;

    @Column(name = "last_chat_date")
    private Date lastChatDate;

    @Column(name = "deleted")
    private Boolean deleted;
}
